package com.nursinghome.common.service;

import com.nursinghome.bean.OrderDetail;
import com.nursinghome.exception.NurisingHomeException;

import java.util.List;

/**
* @author 程硕
* @createDate 2025-04-07 01:10:33
*/
public interface OrderDetailService {
    //新增
    Boolean insert(OrderDetail orderDetail) throws NurisingHomeException;
    //修改
    Boolean update(OrderDetail orderDetail) throws NurisingHomeException;
    // 删除
    Boolean deleteByOrderId(String orderId) throws NurisingHomeException;
    //根据id回显数据
    OrderDetail selectById(Long id);
    //查询所有
    List<OrderDetail> selectAll();
}
